/**
 * 
 */
package com.gametime.dao;

/**
 * @author dave
 *
 */
public class TeamDAOFactory
{

  private static TeamDAOFactory instance=null;
  private TeamDAO teamDAOImpl= null;
  private TeamDAOFactory()
  {
    teamDAOImpl = new com.gametime.dao.spring.SpringTeamDAOImpl();
  }
  
  public static TeamDAO getImpl()
  {
    if(instance == null)
      instance = new TeamDAOFactory ();
    return instance.teamDAOImpl;
    
  }
  public TeamDAO getDAO()
  {
    return teamDAOImpl ;
  }
  

}
